home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pine / imap-3.0 / MailManager / ReadWindow.h < prev    next >
Encoding:
Text File  |  1992-05-06  |  3.6 KB  |  113 lines

  1. /*
  2.  * Program:    Distributed Electronic Mail Manager (ReadWindow object)
  3.  *
  4.  * Author:    Mark Crispin
  5.  *        Networks and Distributed Computing
  6.  *        Computing & Communications
  7.  *        University of Washington
  8.  *        Administration Building, AG-44
  9.  *        Seattle, WA  98195
  10.  *        Internet: MRC@CAC.Washington.EDU
  11.  *
  12.  * Date:    1 March 1989
  13.  * Last Edited:    6 May 1992/Mike Dixon, Xerox PARC
  14.  *
  15.  * Copyright 1992 by the University of Washington
  16.  *
  17.  *  Permission to use, copy, modify, and distribute this software and its
  18.  * documentation for any purpose and without fee is hereby granted, provided
  19.  * that the above copyright notice appears in all copies and that both the
  20.  * above copyright notice and this permission notice appear in supporting
  21.  * documentation, and that the name of the University of Washington not be
  22.  * used in advertising or publicity pertaining to distribution of the software
  23.  * without specific, written prior permission.  This software is made
  24.  * available "as is", and
  25.  * THE UNIVERSITY OF WASHINGTON DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
  26.  * WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED
  27.  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN
  28.  * NO EVENT SHALL THE UNIVERSITY OF WASHINGTON BE LIABLE FOR ANY SPECIAL,
  29.  * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  30.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT
  31.  * (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION
  32.  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  33.  *
  34.  */
  35.  
  36. @interface ReadWindow : Object
  37. {
  38.   id messageView;        // message text view
  39.   id window;            // read window
  40.   id answered;            // answered state
  41.   id deleted;            // deleted state
  42.   id flagged;            // flagged state
  43.   id seen;            // seen state
  44.   id display;            // display mode
  45.   id copy;            // Copy button
  46.   id forward;            // Forward button
  47.   id keyword;            // Keyword button
  48.   id reply;            // Reply button
  49.   id attachmentPanel;        // attachment browser panel
  50.   id attachmentView;        // attachment browser view
  51.   Matrix *browser;        // attachment browser
  52.   ScrollView *messageItems;    // message items view in main window
  53.   MAILHANDLE *handle;        // handle on MAIL stream
  54.   SEQUENCE *sequence;        // sequence for this read window
  55.   BOOL OK;            // flag if OK vs. Cancel hit
  56. }
  57.  
  58. + new;
  59. - setMessageView:anObject;
  60. - setWindow:anObject;
  61. - setMessageItems:anObject;
  62. - setHandle:(MAILHANDLE *) h;
  63. - setSequence:(SEQUENCE *) seq;
  64. - moveSequence:(SEQUENCE *) seq;
  65. - updateTitle;
  66. - setDisplay:anObject;
  67. - setAttachmentPanel:anObject;
  68. - setAttachmentView:anObject;
  69. - displayMessage:sender;
  70. - displayText:(unsigned char *) s length:(unsigned long) len type:(int) type
  71.    subtype:(char *) sub encoding:(int) enc;
  72. - (int) countAttachments:(BODY *) body;
  73. - (int) displayAttachment:(BODY *) body prefix:(char *) pfx index:(int) i
  74.    row:(int) r;
  75. - doAttachment:sender;
  76. - (NXStream *) attachmentStream:(unsigned char *) s length:(unsigned long) len
  77.    encoding:(int) enc;
  78. - close;
  79. - setFreeWhenClosed:(BOOL) flag;
  80. - windowWillClose:sender;
  81. - windowDidMove:sender;
  82. - help:sender;
  83. - print:sender;
  84. - kill:sender;
  85. - next:sender;
  86. - previous:sender;
  87. - setAnswered:anObject;
  88. - setDeleted:anObject;
  89. - setFlagged:anObject;
  90. - setSeen:anObject;
  91. - answer:sender;
  92. - deleteMe:(int)mode;    // mdd.  mode is 0=undelete; 1=delete; 2=toggle
  93. - delete:sender;
  94. - flag:sender;
  95. - mark:sender;
  96. - setKeyword:anObject;
  97. - keywordClear:sender;
  98. - keywordSet:sender;
  99. - keyword:sender set:(BOOL) set;
  100. - setCopy:anObject;
  101. - fileCopy:sender;
  102. - fileMove:sender;
  103. - copy:sender delete:(BOOL) del;
  104. - setForward:anObject;
  105. - forward:sender;
  106. - remail:sender;
  107. - setReply:anObject;
  108. - replyAll:sender;
  109. - replySender:sender;
  110. - reply:sender all:(BOOL) all;
  111.  
  112. @end
  113.